import 'package:flutter/material.dart';
import 'package:kxy_flutter_app/view/course/course_list_widget.dart';

class CourseListView extends StatelessWidget {
  final String cateId;
  final String searchText;

  CourseListView({
    Key key,
    this.cateId,
    this.searchText,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('课程列表')),
      backgroundColor: Colors.white,
      body: CourseListWidget(
        cateId: cateId,
        searchText: searchText,
      ),
    );
  }
}
